<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="Stylesheet" href="css/analysis.css" />
    <script type="text/javascript">
        function init() {
            if (window.location.hash) {
                var parentDiv, nodes, i, helpInfo, helpId, helpInfoArr, helpEnvFilter, envContent, hideEnvClass, hideNodes;
                helpInfo = window.location.hash.substring(1);
                    if(helpInfo.indexOf("-")) {
                        helpInfoArr = helpInfo.split("-");
                        helpId = helpInfoArr[0];
                        helpEnvFilter = helpInfoArr[1];
                    }
                    else {
                        helpId = helpInfo;
                    }
                parentDiv = document.getElementById("topics");
                nodes = parentDiv.children;
                    hideEnvClass = (helpEnvFilter === "OnlineOnly"? "PortalOnly": "OnlineOnly");
                    if(document.getElementsByClassName) {
                        hideNodes = document.getElementsByClassName(hideEnvClass);
                    }
                    else {
                        hideNodes = document.querySelectorAll(hideEnvClass);
                    }
                for(i=0; i < nodes.length; i++) {
                    if(nodes[i].id !== helpId) {
                        nodes[i].style.display ="none";
                    }
                    }
                    for(i=0; i < hideNodes.length; i++) {
                        hideNodes[i].style.display ="none";
                    }
                }
            }
    </script>
</head>
<body onload="init()">
<div id="topics">
    <div id="toolDescription" class="smallsize">
        <h2>Geocode Locations from Table</h2><p/>
        <h2><img src="./images/GUID-E4194410-7BBF-4349-98C9-22781D35183E-web.png" alt="Geocode Locations from Table"></h2>
        <hr/>
    <p>Geocoding is a way to convert addresses into coordinates. This tool converts addresses from a table, a CSV file, or an Excel file into a feature layer or an output file with the coordinates as extra columns.
    </p>
    </div>
    <!--Parameter divs for each param-->
    <div id="inputTable">
        <div><h2>Choose an input table</h2></div>
        <hr/>
        <div>
            <p>The input table with the addresses to be geocoded.
The input must be a table, a CSV file, or an Excel file.
            </p>
        </div>
    </div>
    <div id="geocodeServiceURL">
        <div><h2>Choose a locator</h2></div>
        <hr/>
        <div>
            <p>Choose a locator service to geocode against. If the locator service you want to use is not in the drop-down menu, contact your administrator to have the locator service configured for batch geocoding.  

            </p>
        </div>
    </div>
    <div id="sourceCountry">
        <div><h2>Country</h2></div>
        <hr/>
        <div>
            <p>If all of your addresses are from one country, select that country to ensure the most accurate results. Otherwise, leave this parameter empty.
            </p>
        </div>
    </div>
    <div id="geocodeParameters">
        <div><h2>Select Data Fields</h2></div>
        <hr/>
        <div>
            <p>The locator service expects certain fields in the data, such as address, city, state, and postal code. Match the data fields in your input file or table to the fields that the locator is expecting using the drop-down boxes. The more fields you map, the more accurate the results will be. If the input table has all its data in one column, select  <b>Single Field</b>  and choose a data field from the drop-down menu. Otherwise, select <b>Multiple Fields</b> and map the appropriate locator fields to the multiple field columns in your table.
            </p>
        </div>
    </div>
    <div id="outputType">
        <div><h2>Choose an output format</h2></div>
        <hr/>
        <div>
            <p>Format of the output results. If you choose to create a feature service, the addresses from the input table will be added to the map as a layer of point features. The CSV and XLS options add files with the results of the geocoding job to  <b>My Content</b> when the job is complete.
            </p>
        </div>
    </div>
    <div id="outputName">
        <div><h2>Output result name</h2></div>
        <hr/>
        <div>
            <p>This is the name of the layer that will be created in  <b>My Content</b>  and added to the map.  The default  name is based on the tool name and the input layer name. If the layer name already exists, you will be prompted to provide another name.
            </p>
            <p>Using the  <b>Save result in</b> drop-down menu, you can  specify the name of a folder in <b>My Content</b> where the result will be saved.
            </p>
        </div>
    </div>
</div>
</html>
